<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title></title>
    <script src="https://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"></script>
</head>
<body>
<table id="tb"></table>
<script>
    $(function(){
        $.ajax({
            url:'http://127.0.0.1:8084/smartLamp/user/login',
            type:'post',
            async:true,
            dataType:'json',
            contentType: 'application/json',
            data: JSON.stringify ({
                userAccount: "admin",
                userPassword: "admin"
            }),
            success:function(result){
                console.log(result)

            }
        })

    })
</script>
</body>
</html>
